package com.to8to.kitt.strategy;

import java.util.List;

public class PriorityStrategy<T> implements SelectorStrategy<T>
{
	@Override
	public T select(List<T> instances) {
        for(T ins : instances)
        	if(ins != null)
        		return ins;
		return null;
	}
}